package com.netty.rpc.provider;

import com.netty.rpc.api.IRpcService;

/**
 * @author vince
 * @date 2021/8/10 19:32
 * @Version 1.0
 */
public class RpcServiceImpl implements IRpcService {
    public int add(int a, int b) {
        return a + b;
    }

    public int sub(int a, int b) {
        return a - b;
    }

    public int mult(int a, int b) {
        return a * b;
    }

    public int div(int a, int b) {
        return a / b;
    }
}
